<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
  data(){
    return{
      // chooseData:[],
      // chooseId:[]
    }
  },
  components: {},
  mounted() {
    this.init();
    this.loadNotify();
  },
  methods: {
    init() {
      var user = sessionStorage.getItem("user");
      if (user == null) {
        this.$router.push("/login");
      } else {
        this.$router.push("/index");
      }
    },
    loadNotify: function(){
      // this.$notify({
      //     title: '升级提示',
      //     message: '系统已升级请查看系统更新日志',
      //     type: 'warning',
      //     duration: 0,
      //     onClick: function(){
      //       window.open("http://test.manage.easycarlife.cn/easyhelp/sub/2021-05-20.html");
      //     }
      //   });
    }
  }
};
</script>

<style>
#app,
html,
body {
  padding: 0%;
  margin: 0%;
  height: 100%;
  margin: 0%;
}
.flexColumn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flexRow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.resetTransfer .el-transfer-panel{
    width: 300px;
}
 .resetTransfer .el-transfer-panel__item{
    width: 100%;
}   
.resetTransfer .el-transfer-panel__item .el-checkbox__input{
    left: 10px;
}
.resetTransfer .el-transfer-panel__item.el-checkbox .el-checkbox__label{
    text-align: left;
}
</style>
<style lang="less">
@import "./style/common.less";
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  /* margin-top: 60px; */
}

</style>
